package Main;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

import Maze.HorizontalTile;
import Maze.Mouse;
import Maze.Tile;
import Maze.VerticalTile;

/**
 * 
 * Operators is the class where the operators are defined Vertical Tiles go up
 * and down HorizontalTiles and mouse go left and right
 * 
 */
public class OperatorsMouseInAMaze implements Operators {

	Map<Object, ArrayList<String>> operators = new HashMap<>();

	OperatorsMouseInAMaze() {
		setOperators();
	}

	public Map<Object, ArrayList<String>> getOperators() {
		return operators;
	}

	public void setOperators(Map<Object, ArrayList<String>> operators) {
		this.operators = operators;
	}

	@Override
	public void setOperators() {
		ArrayList<String> upAndDown = new ArrayList<>();
		upAndDown.add("Up");
		upAndDown.add("Down");
		ArrayList<String> leftAndRight = new ArrayList<>();
		leftAndRight.add("Left");
		leftAndRight.add("Right");
		Tile verticalTile = new VerticalTile();
		Tile horizontalTile = new HorizontalTile();
		Tile mouse = new Mouse();
		operators.put(verticalTile, upAndDown);
		operators.put(horizontalTile, leftAndRight);
		operators.put(mouse, leftAndRight);

	}

}
